[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.STACK           Define Stack Segment                               Directive

  .STACK [size]

     This directive sets up a stack segment. If you do not reserve a
     size, the default is 1024 bytes. This directive is usually used with
     the other simplified segment directives (such as .CODE and .DATA).
     To use .STACK, you must have defined the memory model with .MODEL.

       Notes:     You only need a stack if you are writing a standalone
                  assembly language program that will be made into a .EXE
                  file.

See Also: .CODE .DATA .DATA? .FARDATA .FARDATA?
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson